package cn.bdqn.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.bdqn.dao.category.AppCategoryDao;
import cn.bdqn.entity.AppCategory;
import cn.bdqn.service.AppCategoryService;
@Service
@Transactional
public class AppCategoryServiceImpl implements AppCategoryService {
	
	@Autowired
	private AppCategoryDao appCategoryDao;

	@Override
	public List<AppCategory> findAllLevelOne() {
		return appCategoryDao.findAllLevelOne();
	}

	@Override
	public List<AppCategory> findAllLevelByParentId(String parentId) {
		return appCategoryDao.findAllLevelByParentId(parentId);
	}
	
}
